package com.liu.proxyDemo;


import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;
/* bean  说明这个类被管理了 */
@Component
public class Dog {
    @Value("狗丢丢")
    public String name;
    public void shut(){
        System.out.println("汪汪汪");
    }
}
